import React from "react";
import { BrowserRouter, Route, Redirect, Switch } from "react-router-dom";
import Storage from "./Storage";
import Stock from "./Stock";
import Return from "./Return";
import Launch from "./Launch";
import Sold from "./Sold";
function Goodsmanage() {
  return (
    <Switch>
      <Route path="/goodsmanage/storage" component={Storage} />
      <Route path="/goodsmanage/stock" component={Stock} />
      <Route path="/goodsmanage/return" component={Return} />
      <Route path="/goodsmanage/launch" component={Launch} />
      <Route path="/goodsmanage/sold" component={Sold} />
      <Redirect to="/" />
    </Switch>
  );
}

export default Goodsmanage;
